import {store, useAnalyseStore} from "@/store";

export const useTrustStore = defineStore('trust', () => {
    const trustStatusForm = ref({
        testType: '0',
    });

    return {
        trustStatusForm,
    };
}, {
    persist: {
        paths: ['trustStatusForm'] // 只持久化 analyseStatusForm 字段
    }
});

export function useTruseStore() {
    return useTrustStore(store);
}
